# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-colored-logs
pkgver=0.2.10
pkgrel=4
pkgdesc="colored logs package based on 'colored'"
options="!check" # No testsuite
url="https://github.com/kopensource/colored_logs"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/c/colored_logs/colored_logs-$pkgver.tar.gz"
builddir="$srcdir/colored_logs-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="30961986aa3b596e9c9a5ae6ed60b17077c9eee8c3897f7aaaed7b371ededbc10c2634fbe3a46fb6e212fcecd902525c0be27e793e91c3c6dd3968c26f4d360a  colored_logs-0.2.10.tar.gz"
